package com.njupt.sellsec.service;

import com.njupt.sellsec.vo.GoodsFormVO;

import java.util.List;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 11:01 2018/7/29
 * @Modified By:
 **/
public interface GoodsService {

    List<GoodsFormVO> getGoodsVOListById();

    GoodsFormVO getGoodInfoById(long goodsId);

    boolean decreaseStock(Long id);

    void resetStock(List<GoodsFormVO> goodsFormVOList);
}
